import * as type from "./type"

let mulations = {
    [type.ProductList](state,action){
        state.goodsId = action.payload.goodsId;  
        state.skuPrice = action.payload.skuPrice;    
        state.vipGoodsDiscountInfo = action.payload.frontVipInfo.vipGoodsDiscountInfo;    
        state.vipLayoutInfo = action.payload.vipLayoutInfo
    },
    [type.ProductTitle](state,action){
        state.ProductTitle = action.payload.goodsList[0];    
  
    }
}

export default mulations;
